package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.REPAYMENT_SCHEDULE;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class RepaymentScheduleApi implements IRequestApi, IRequestType {

    private ReqRepaymentScheduleBean overripe;

    public RepaymentScheduleApi(String cindy) {
        this.overripe = new ReqRepaymentScheduleBean(cindy);
    }

    @NonNull
    @Override
    public String getApi() {
        return REPAYMENT_SCHEDULE;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class ReqRepaymentScheduleBean {
        private String cindy;

        public ReqRepaymentScheduleBean(String cindy) {
            this.cindy = cindy;
        }

    }

    public static final class ResRepaymentScheduleBean {

        public String cindy;
        public int mort;
        public boolean extenuatory;
        public String scooterist;
        public double shorefront;
        public boolean permanent;
        public double herzegovina;
        public double strabismal;
        public String racemism;
        public double awag;
        public int icw;
        public double applicant;
        public String elinvar;
        public int negator;
        public String thalassochemical;
        public double tubulure;
        public boolean vespiform;
        public String robotry;
        public double telegraphoscope;
        public String melaleuca;
        public String vitruvian;
        public String unparallel;
        public boolean surprisingly;

        public String getCindy() {
            return cindy;
        }

        public int getMort() {
            return mort;
        }

        public boolean isExtenuatory() {
            return extenuatory;
        }

        public String getScooterist() {
            return scooterist;
        }

        public double getShorefront() {
            return shorefront;
        }

        public boolean isPermanent() {
            return permanent;
        }

        public double getHerzegovina() {
            return herzegovina;
        }

        public double getStrabismal() {
            return strabismal;
        }

        public String getRacemism() {
            return racemism;
        }

        public double getAwag() {
            return awag;
        }

        public int getIcw() {
            return icw;
        }

        public double getApplicant() {
            return applicant;
        }

        public String getElinvar() {
            return elinvar;
        }

        public int getNegator() {
            return negator;
        }

        public String getThalassochemical() {
            return thalassochemical;
        }

        public double getTubulure() {
            return tubulure;
        }

        public boolean isVespiform() {
            return vespiform;
        }

        public String getRobotry() {
            return robotry;
        }

        public double getTelegraphoscope() {
            return telegraphoscope;
        }

        public String getMelaleuca() {
            return melaleuca;
        }

        public String getVitruvian() {
            return vitruvian;
        }

        public String getUnparallel() {
            return unparallel;
        }

        public boolean isSurprisingly() {
            return surprisingly;
        }
    }
}